<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta http-equiv="Content-Style-Type"  content="text/css" />
	<meta http-equiv="Content-Script-Type" content="text/javascript" />
	<title>JSmarty - Template Engine</title>
	<link href="default.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="shared/scripts/jquery-1.2.6.min.js"></script>
	<script type="text/javascript" src="shared/scripts/jquery-ui-personalized-1.6rc2.js"></script>
	<script type="text/javascript" src="../lib/JSmarty.js?Compiler"></script>
	<script type="text/javascript" src="models.js"></script>
	<script type="text/javascript" src="sample.js"></script>
</head>
<body>

<div class="header" id="header">
	<ul class="navigation">
		<li><a href="index.html#sample"><span>Sample</span></a></li>
		<li><a href="index.html#compiler"><span>Compiler</span></a></li>
	</ul>
	<h1>JSmarty</h1>
</div>

<div class="main" id="main">
	<div id="sample">
		{if $mode == 'index'}
		<h2>license</h2>
		<ul>
			<li>license under the LGPL(2.0)</li>
		</ul>
		<h2>author</h2>
		<ul>
			<li>shogo4405
				<ul>
					<li>web : <a href="http://d.hatena.ne.jp/shogo4405/">http://d.hatena.ne.jp/shogo4405/</a></li>
				</ul>
			</li>
		</ul>
		{else}
		<h2>{$plugin.type} - {$plugin.name}</h2>
		{model type=$plugin.type name=$plugin.name}<h3>Assign</h3>{/model}
		<h3>Template</h3>
		<textarea>{$resource}</textarea>
		<h3>Result</h3>
		<div class="result">{$contents}</div>
		{/if}
	</div>
	<div id="compiler">
		<h2>Template</h2>
		<textarea id="resource"></textarea>
		<h2>Result(<span id="resource-timestamp">0ms</span>)</h2>
		<textarea name="resource-compiled" id="resource-compiled"></textarea>
	</div>
</div>

<div class="sidebar">
	<div id="sidebar" class="sidebar-container"></div>
</div>

<div class="footer" id="footer">powerd by<br /><a href="http://code.google.com/p/jsmarty">JSmarty {$smarty.version}</a> and jQuery</div>

</body>
</html>
